← Back to issue list

Unpredictable "passthrough" behaviour

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#2002980
Type
issue
State
open
Author
~ondrak
Labels
Created
2023-01-16 13:05:37.235482+00:00
Updated
2023-01-16 13:05:37.235482+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

"passthrough:" stanza behaves differently when used in snapcraft.yaml and gadget.yaml If used in snapcraft.yaml, "passthrough" level is removed and the block under "passthrough" is bumped one level up, without snapcraft doing any sanity parsing of that block. Like this, there is no "passthrough" in generated meta/snap.yaml I assume this is correct behaviour. But if "passthrough" us used in gadget.yaml, it is not touched and passed to generated meta/gadget.yaml This created inconsistent behaviour and easily leads to yaml file in gadget snap having unexpected content.

Evaluation history

No evaluation history available.